﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Entity;

namespace FMSWeb.ValidateCode
{
    public partial class ValidateCode : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Entity.ValidateCode vc = new Entity.ValidateCode();
            AddCookie("CheckCode", vc.CheckCode);
            Response.ClearContent();
            Response.ContentType = "image/Gif";
            Response.BinaryWrite(vc.ImgStream.ToArray());
        }
    }
}
